package com.bfxy.rabbit.producer.broker;

import com.bfxy.rabbit.api.Message;
import org.springframework.stereotype.Component;

/**
 * @describte: 具体发送不同种类型消息的接口
 * @program:rabbit-parent
 * @author:zhengdp
 * @create:2021-09-14 21:38:51
 **/
@Component
public interface RabbitBroker {

    void rapidSend(Message message);

    void confirmSend(Message message);

    void reliantSend(Message message);

    void sendMessages();
}
